package org.despair2D.ui.core 
{
	import flash.ui.Mouse;
	
	
final public class CursorManager
{
	
	
	/* 是否可见 */
	final public function get visible() : Boolean
	{
		return m_visible
	}
	
	final public function set visible( b:Boolean ) : void
	{
		if (m_visible != b)
		{
			m_visible = b
			
			if (b)
			{
				Mouse.show()
			}
			
			else
			{
				Mouse.hide()
			}
		}
	}
	
	
	/**
	 * 设置光标画像
	 * 
	 * @usage	1. ARROW	默认
	 * 			2. AUTO		据情况自动选择
	 * 			3. BUTTON	按钮点击
	 * 			4. HAND		手型
	 * 			5. IBEAM	文本竖线(|)
	 */
	public function setCursor():void
	{
		
	}
	
	
	
	private var m_visible:Boolean = true
	
}

}